<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我的产品订单</title>
<?php include(DEDEMEMBER."/templets/head_inc.htm"); ?>
<script type="text/javascript">
$(function() {
	$("#navigation .sort").click(function(){
		$(this).next(".menu").toggleClass("invisible");
		$(this).toggleClass("hover");
	})
	//列表
	$("table.list1 tr:even").addClass("even"); //偶行风格
	//点击高亮
	$("table.list1 td").click(function() {
		$(this).parent("tr").toggleClass("click");
		$(this).parent("tr").toggleClass("hover");
	});
	$("table.list1 td").hover(function() {
		$(this).parent("tr").addClass("hover");
	},
	function() {
		$(this).parent("tr").removeClass("hover");
	});
	//checked 全选&反选&单选
	$("#checkedClick").click(function(){
		$("form [name='deleteid']").each(function(){
			if($(this).attr("checked")){
				$(this).removeAttr("checked");
				}
			else{
				$(this).attr("checked",'true');
				}
		})
	});
})
</script>
</head>
<body>
<?php include(DEDEMEMBER."/templets/head.htm"); ?>
<div class="wrapper mT10">
  <div class="west">
    <?php include(DEDEMEMBER."/templets/menu.htm"); ?>
  </div>
  <div class="east mL10">
    <div class="heading mB10"><strong class="icon sec mL10" style="width:400px;"><?php echo GetLang('myorders');?></strong></div>
    <ul class="titleTabBar fLeftChild mB10">
      <li<?php if(empty($type) || $type=='all'){?> class="select"<?php } ?>><a href="product_orders.php?type=all"><?php echo GetLang('ord_all');?></a></li>
      <li<?php if($type=='unclick'){?> class="select"<?php } ?>><a href="product_orders.php?type=unclick"><?php echo GetLang('ord_no');?></a></li>
      <li<?php if($type=='isclick'){?> class="select"<?php } ?>><a href="product_orders.php?type=isclick"><?php echo GetLang('ord_do');?></a></li>
    </ul>
    <div class="clear"></div>
    <table cellspacing="1" class="list1 blueA">
      <thead>
        <tr>
          <th width="15%"><?php echo GetLang('ord_oid');?></th>
          <th><?php echo GetLang('product');?></th>
          <th width="15%"><?php echo GetLang('time');?></th>
          <th width="10%"><?php echo GetLang('ord_state');?></th>
        </tr>
      </thead>
      <tbody>
      {dede:datalist}
        <tr>
          <td><a href="/plus/product_orders.php?dopost=query&no={dede:field.oid/}" target="_blank">{dede:field.oid/}</a></td>
          <td><a href="/plus/view.php?aid={dede:field.aid/}" target="_blank" title="{dede:field.title/}">{dede:field.title/}</a></td>
          <td align="center">{dede:field.dateline function='GetDateMk(@me)'/}</td>
          <td align="center"><em class="aRed">{dede:field.status function='_getStatus(@me)'/}</em></td>
        </tr>
      {/dede:datalist}
      </tbody>
    </table>
    <div class="paglist">{dede:pagelist listsize=3/}</div>
  </div>
</div>
<div class="clearfix"></div>
<?php include(DEDEMEMBER."/templets/foot.htm"); ?>
</body>
</html>
